package com.xmg.design23.d2_singleton;

/**
 * @Author: mazhongqing
 * @Date: 2021/3/24 15:28
 */
public class Test {
    public static void main(String[] args) {
        System.out.println(SingletonInnerClass.getInstance()==SingletonInnerClass.getInstance());
        System.out.println(SingletonEnum.INSTANCE==SingletonEnum.INSTANCE);
        System.out.println(SingletonDCL.getInstance()==SingletonDCL.getInstance());
    }
}
